package com.config.tomcat;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author chengyadong
 * @date 2023/9/19 14:15
 * @description 错误页面跳转
 */
@Controller
public class ErrorPageController {
	@GetMapping("/error_{status}")
	public String errorpage1(@PathVariable("status") String status) {
		return status+".html";
	}
}
